/*
 * @Author: Li Zengkun
 * @Date: 2022-07-19 11:56:23
 * @LastEditors: Li Zengkun
 * @LastEditTime: 2022-07-19 14:40:44
 * @Description: Router
 */
import { createRouter, createWebHashHistory } from 'vue-router'
import OverviewPage from './views/OverviewPage.vue'
import CampaignsPage from './views/CampaignsPage.vue'
import PayoutsPage from './views/PayoutsPage.vue'
import ProductsPage from './views/ProductsPage.vue'
import StatementPage from './views/StatementPage.vue'
import SchedulesPage from './views/SchedulesPage.vue'
import SettingsPage from './views/SettingsPage.vue'


const routes = [{
        path: '/',
        component: OverviewPage,
    },
    {
        path: '/campaigns',
        component: CampaignsPage,
    },
    {
        path: '/payouts',
        component: PayoutsPage,
    },
    {
        path: '/products',
        component: ProductsPage,
    },
    {
        path: '/statement',
        component: StatementPage,
    },
    {
        path: '/schedules',
        component: SchedulesPage,
    },
    {
        path: '/settings',
        component: SettingsPage,
    },

]


export default createRouter({
    history: createWebHashHistory(),
    routes,
})